<template>
  <div>
    <div class="paysuccess">
      <div class="paysuccessTop">
        <PayTop />
      </div>
      <div class="paysuccessContent">
        <div class="payImgBox">
          <img src="../assets/img/paysuccsee.png" alt="">
        </div>
        <div class="payBtnBox">
          <input type="button" class="checkCase orangeBg" value="查看订单">
          <input type="button" class="returnHome greenBg" value="返回首页" @click="returnHome">
        </div>
        <div class="paycaseNum">
          <span>订单编号：21316546465464</span>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
import PayTop from "@/components/PayTop.vue"
export default {
  components:{
    PayTop,
  },
  methods:{
    returnHome(){
        this.$router.push({
          path: '/index/home',
      })
    }
  }
}
</script>
<style>
.paysuccessContent{
  width: 540px;
  margin: auto;
  text-align: center;
}
.payBtnBox{
  display: flex;
  justify-content: space-evenly;
  margin-top: 65px;
}
.payBtnBox input{
  width: 170px;
  height: 45px;
  display: block;
  border-radius: 5px;
  border: none;
  color: #fff;
  font-size: 20px;
  margin-bottom: 60px;
}
.paysuccessContent .paycaseNum{
  color: #737373;
  margin-bottom: 100px;
}
</style>